package com.boot.mapper;

import com.boot.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-09-15:17
 */

@Mapper
public interface OrderMapper {

//    创建订单
    void create(Order order);

//    修改订单状态
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
